package com.lengyu.vxminiprogram.vx.miniprogram.service;

import com.alibaba.fastjson.JSONObject;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuyu
 * @since 2024-08-23
 */
public interface IVxApiService{
    /**
     * 登录凭证校验。通过 wx.login 接口获得临时登录凭证 code 校验登录信息
     * @param code
     * @return
     */
    JSONObject code2Session(String code);

    JSONObject sendSubscribeMessage(String title,String detail,String deadLineDate, String openId);

    String getAccessToken();
}
